package com.tjetc.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.tjetc.domain.MedicineListItem;
import com.tjetc.mapper.MedicineListItemMapper;
import com.tjetc.service.MedicineListItemService;
@Service
public class MedicineListItemServiceImpl implements MedicineListItemService{

    @Resource
    private MedicineListItemMapper medicineListItemMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return medicineListItemMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MedicineListItem record) {
        return medicineListItemMapper.insert(record);
    }

    @Override
    public int insertSelective(MedicineListItem record) {
        return medicineListItemMapper.insertSelective(record);
    }

    @Override
    public MedicineListItem selectByPrimaryKey(Integer id) {
        return medicineListItemMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MedicineListItem record) {
        return medicineListItemMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MedicineListItem record) {
        return medicineListItemMapper.updateByPrimaryKey(record);
    }

}
